• Xsl? Xslt question

    Updated: 2009-12-31 16:36:24
    Hi guys i have this multiple choice question can u help me please? Questions: An XML based language for describing XML "applications" (i.e. sets of tags that make up a language like XHTML) An SGML based language for describing XML "applications" (i.e. sets of tags that make up a language...

  • mressf function

    Updated: 2009-12-31 15:35:42
    Well I created this function a while back but it's still invaluable to people who generate queries. If you're familiar with sprintf and use it to put your variables into your mysql queries then you can use instead of using mysql_real_escape_string on every param. For example, suppose you have ...

  • ATT petitions FCC to kill landlines

    Updated: 2009-12-31 15:32:56
    ---Quote--- "Indeed, perhaps the clearest sign of the transformation away from POTS and towards a broadband future is that there are probably now more broadband connections than telephone lines in the United States," AT&T adds. And as millions of consumers migrate away from POTS, those who keep it...

  • PHP/MySQL - Help updating table using a csv file

    Updated: 2009-12-31 15:31:23
    Hello all, I have a csv file that has four column, no headers. The original concept of this was to insert items into a mysql table with the column names of 'sku', 'quantiy', 'available', 'date_update'. i am using to php files to update this. The first file upload the csv file to a upload...

  • nested functions as closure

    Updated: 2009-12-31 15:00:08
    js code is as follows: Code: --------- uniqueNo=(function(){ var no=0; return function(){ return no++; } })() document.writeln(uniqueNo()); // 1st time call document.writeln(uniqueNo()); // 2nd time call

  • Meaning of setTimeout()'s Return Value

    Updated: 2009-12-31 14:56:19
    I'm troubleshooting some issues with menus closing and when I alert the return value from something like: Code: --------- timer = setTimeout("closeMenu(id)",500); --------- I get 2,3,4. It seems to increment. Does that just represent how many times the timeout code has been executed?

  • Need Help With A Small Bit Of Code Which Is Not Working

    Updated: 2009-12-31 13:11:40
    Hello, So im trying to make a game in php. I am having problems with this bit of code: PHP: ---------

  • how can i make my 950x200px image load fast on site?

    Updated: 2009-12-31 11:55:06
    Hi guys, I have an image sized 950x200px that I need to use on the main banner of my page, what would be the fastest way of getting this to load when the page is visited, cut it up and float the images side by side perhaps? Thanks in advance. Kyle

  • How do they do it?

    Updated: 2009-12-31 11:06:54
    I'm no expert, so please bear that in mind when offering any assistance and your assistance given is appreciated! Onto my question.. How do sites like this: http://www.gamereplays.org and http://www.vbulletin.org setup their backgrounds so that they enclose the middle content area? For an...

  • Category entry confirmation

    Updated: 2009-12-31 11:02:43
    Hi all, I have several categories on my site and one of the is for adult content (NO PORN) and I would like to ask visitors confirm that they are over 18 years old before they can actually enter the category. I would like to ask what is the best method for it? How do you think should I ask...

  • Print service

    Updated: 2009-12-31 00:59:12
    My goal is to build a printer client for LPD/LPR print servers. I would use Windows' built-in LPD/LPR printer protocol; however, I need the functionality of being able to change users on a job to job basis. I've seen one method of building a custom printer port that's monitored by a service. I'm...

  • plz guide me for RSS

    Updated: 2009-12-31 00:19:23
    hi all i need a little help i want to make a site which provide updated contents to the other sites... these sites are those who register on my site for contents... i want just sugestion what to use for sending them contents on their sites... if it is not RSS blog plz guide me where to ask for...

  • PHP Script Ran By Cron

    Updated: 2009-12-31 00:14:30
    Hello, I have a PHP script that uses Google's API for youtube, and sometimes it'll get a Too Many Recent Calls error, so the script has to redirect and start over at the last successful place it knows of. The script is set to be ran by cron every 15 minutes, but when it gets a TMRC it'll stop...

  • "Can't execute code from a freed script"

    Updated: 2009-12-31 00:14:01
    I have a set of Iframe created dynamicaly in a page. I have some JavaScript objects defined in main page as well as in the pages that is loaded in the iframes. I need to call function from main page to pages in iframe and vice versa. I want to use event- subscriber model .i.e. objects in the...

  • WordPress 2.9.1 Release Candidate 1

    Updated: 2009-12-29 23:27:23
    Thanks to everyone who tested 2.9.1 Beta 1.  We’re following that up with Release Candidate 1.  RC1 contains a few more fixes, bringing the number of fixed tickets up to 23.  If you are already running Beta 1, visit Tools->Upgrade in your blog’s admin to get RC1.  You can also  download the RC1 package and [...]

  • Wibiya Goes Public

    Updated: 2009-12-29 06:08:10
    Wibiya is a startup that offers a really cool and useful toolbar for your Web sites. For quite a while, Wibiya has been in private beta, allowing users to sign up and receive invitation codes to try it out. Today, however, Wibiya went public, allowing anyone to sign up for the service. The toolbar offers quite [...] Related posts:Woopra Going Public TweetDeck – Keep Track of Your Twitter Updates TweetDeck vs. Seesmic – My Opinion

  • A New Alternative to TinyMCE

    Updated: 2009-12-26 00:06:03
    I came across a post on the Web Resources Depot today referring to a new (to me, at least) WYSIWYG editor similar to TinyMCE. However, this new editor, known as MooEditable, uses the MooTools javascript framework rather than implementing everything with its own libraries and frameworks. It appears to be lighter weight than the full [...] Related posts:TinyMCE 3.2.4 Released TinyMCE and Tooltips Nice Alternative to Launchcast

  • Web Development New December 2009

    Updated: 2009-12-23 17:21:04
    M att S nider.com Home RSS Feed Table of Contents Tags Archives About Options Web Development New December 2009 by Matt Snider December 23, 2009 9:21 am Happy Holidays . I hope all of you are able to take some time off to visit friends and family . This will be my last post of 2009, as I will be on vacation for the rest of December . Today , I wanted to share some news and then comment on the current and future development of this blog . John Resig speaks at Yahoo BayJax meetup Testing , Performance Analysis , and jQuery 1.4 One of the most prolific contributors to open source web development , John Resig explains how to test your JavaScript applications and improve performance . He uses his experience with jQuery to explain how testing has helped dramatically improve the performance of version 1.4. I recommend watching the video , as it will making testing your JavaScript code easier and better . MySQL Oracle Oracle Publicly Commits to MySQL The merger of Oracle and Sun has left developers wondering about MySQL , and whether it will remain free and widely available . In response to the community outcry , Oracle has promised to support MySQL for at least the next five years . This

  • Using PHP to Copy an SQL Server Table to MySQL

    Updated: 2009-12-19 13:45:10
    At work, we have a scheduled task run every day that pulls information out of a huge Oracle database and dumps it into a Microsoft SQL table on one of our local IIS Web servers. We then have a script on our remote LAMPP Web server (the one we use to serve up our public [...] Related posts:Copying Data from SQL Server to MySQL Using MySQL with PHP – Part 1 Back Up A Large MySQL Database

  • 2.9 Release Candidate 1

    Updated: 2009-12-16 18:33:39
    We’re at that exciting point in WordPress development where the dev team feels like version 2.9 is complete and ready for the world. If you’ve been waiting for your moment to pitch in, it’s now. First we need tech savvy testers to upgrade their blogs and kick the tires, make sure everything is rolling like you [...]

  • Gmail Adds New Features

    Updated: 2009-12-16 02:42:13
    The Gmail team has been busy working on new features for the Web-based e-mail service. Over the last two days, two major new features have been added. First of all, a feature to mark part of a conversation unread has been added to the “labs” (the beta test version of Gmail). This new feature will allow [...] Related posts:Is the whole world moving to Gmail? UPS tracking and GMail Frustrated With Outlook

  • Augmenting YUI3 Module Objects

    Updated: 2009-12-15 08:13:40
    M att S nider.com Home RSS Feed Table of Contents Tags Archives About Options Augmenting YUI3 Module Objects by Matt Snider December 15, 2009 12:13 pm In YUI 2 augmenting a library class is as simple as appending functions to the static object or modifying the prototype of a non-static object . Augmenting objects in YUI 3 is almost as easy , differing only in the augmentation having to be applied inside of a YUI( add( function . Although , augmenting objects is not difficult , it feels complicated until you become used to the YUI 3 way of coding . This article will cover how to augment the objects in the YUI 3 library . To start , think about your application . Ask yourself , if you include a common set of YUI 3 modules on every page , or if each page uses a disparate set . If you include the same modules files on every page , then you can consolidate your augmentation into a single file yui3-ext.js otherwise , you may want to have a file for the augmentation of each module yui3-node.ext.js yui3-widget-ext.js etc . When you want to apply your augmented objects , the location of the code needs to be defined in YUI( function . Example 1 : Making Augmentation Code Available to YUI(

  • Add the Extract Filter to Photoshop CS4

    Updated: 2009-12-14 02:30:37
    For those of you that upgraded to Photoshop CS4, you may have noticed that the “Extract” filter is missing from the program. From what I’ve read, Adobe’s reasoning is that they are building a better method to extract an image from its background, so they’ve gone ahead and removed the filter (among others) before they’ve [...] Related posts:Adobe Photoshop CS2 The Photoshop CS Book for Digital Photographers Has Adobe Lost Its Mind?

  • Do Your Page Titles Make Sense?

    Updated: 2009-12-10 02:54:22
    I was listening to episode #194 of the BoagWorld podcast the other day. Part of the podcast included an interview with Gerry McGovern on the concept of focusing on user tasks. One of the main points made in the interview was that you need to focus on major tasks that your visitors want to accomplish [...] Related posts:Usability Page Breakdown Notifying Google of a Major Site Overhaul Google Analytics – What Bounce Rate Means

  • Cross Subdomain Scripting

    Updated: 2009-12-09 18:30:40
    M att S nider.com Home RSS Feed Table of Contents Tags Archives About Options Cross Subdomain Scripting by Matt Snider December 9, 2009 10:30 am Since the early days , browsers have prevented cross-site scripting by ensuring that JavaScript cannot access files loaded from another domain , such as the source of an iframe . Unfortunately , the same logic was applied to subdomains , so JavaScript code on subdomain1.mattsnider.com cannot access subdomain2.mattsnider.com This causes problems if you organize your site by subdomains that need to communicate with each other via JavaScript or AJAX . Fortunately , browser makers added the document.domain property to allow you to change the domain used for page origin checks to a parent domain , instead of the subdomain . This means that if I wanted subdomain1.mattsnider.com to be able to communicate with subdomain2.mattsnider.com I would need to set document.domain= mattsnider.com in a script tag in the head of each page . This causes the browser to treat both sites as coming from mattsnider.com when performing the site-origin security check , allowing them to access each other . Now document.domain only works with a parent domain to the

  • OffiSync – Save Your Office Documents Online

    Updated: 2009-12-07 23:44:35
    Microsoft Office 2010 will include the ability to save documents to and open documents from a repository on the Web. Further, you’ll be able to actually open the documents in your browser and perform minor edits. Until that functionality is enabled, though, you have another option to do the same thing (actually, since we have [...] Related posts:Office 2010 and Chrome OS Extracting Images from a Word 2007 Document OpenOffice.org – A Freeware Suite of Office Applications

  • Strong Server-Side Parameter Validation

    Updated: 2009-12-03 18:13:55
    M att S nider.com Home RSS Feed Table of Contents Tags Archives About Options Strong Server-Side Parameter Validation by Matt Snider December 3, 2009 10:13 am Most web applications require the end-user to submit form data to the server , whether through a tradition web form or via AJAX . Anytime a server receives a request with parameters , the server-side code should assume that the request is malicious . At the very least a developer should ensure that SQL and or JavaScript code is not injected . However , a developer should know what the acceptable values are for a parameter and be able to validate against those acceptable values . Today we will look at validating parameters using regular expressions to restrict the allowed characters . Example 1 : RequestParameterParser Class class RequestParameterParser public function construct($data this-_data data Validation Methods convert the parameter to a Boolean private function convertToBoolean($value if null value value strtolower($value return value t value true value on value null public function getBoolean($parameterName , allowNull=true value this-_validateParameter($parameterName , this-BOOLEAN , allowNull return

Last Months Items